feat(uipath-admin): add audit service support#527
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
2f2f6b8 to
12360ee
Compare
This comment was marked as outdated.
This comment was marked as outdated.
12360ee to
56ebd7c
Compare
This comment was marked as outdated.
This comment was marked as outdated.
56ebd7c to
eeebd46
Compare
uipreliga
left a comment
There was a problem hiding this comment.
can you fix the test issues?
08488ab to
9e8ec0d
Compare
9e8ec0d to
af73637
Compare
|
Below are results of the task linter - please fix and make sure the linter passes before merge. 11 task YAMLs added. Verdict counts: 0 Critical, 4 High, 5 Medium, 2 Low/OK. Rubric: .claude/commands/lint-task.md. This check is advisory and never blocks merge. Evidence of passing run❌ High — PR body's Test plan has unchecked boxes for Per-task lint
|
af73637 to
cc449b4
Compare
cc449b4 to
075918e
Compare
feat(uipath-audit): add audit skill
Skill teaches agents how to drive `uip admin audit org|tenant {sources|events|export}`
from natural-language audit / investigation prompts. Mirrors the structure of the
existing uipath-gov-aops-policy skill.
Adds:
- skills/uipath-audit/SKILL.md
- skills/uipath-audit/references/audit-commands.md
- skills/uipath-audit/references/audit-workflow-guide.md
- tests/tasks/uipath-audit/{audit_sources_smoke,audit_events_pagination_smoke,audit_export_e2e}.yaml
- CODEOWNERS entry
Drive-by: hooks/ensure-uip.sh now respects SKIP_UIP_AUTO_INSTALL=1 so
contributors developing CLI features against a `bun link`'d workspace
binary don't have their link clobbered every session.
Moved audit skills inside uipath-admin
Fixes based on comment
Added tests
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
075918e to
63d4095
Compare
feat(uipath-audit): add audit skill
Skill teaches agents how to drive `uip admin audit org|tenant {sources|events|export}`
from natural-language audit / investigation prompts. Mirrors the structure of the
existing uipath-gov-aops-policy skill.
Adds:
- skills/uipath-audit/SKILL.md
- skills/uipath-audit/references/audit-commands.md
- skills/uipath-audit/references/audit-workflow-guide.md
- tests/tasks/uipath-audit/{audit_sources_smoke,audit_events_pagination_smoke,audit_export_e2e}.yaml
- CODEOWNERS entry
Drive-by: hooks/ensure-uip.sh now respects SKIP_UIP_AUTO_INSTALL=1 so
contributors developing CLI features against a `bun link`'d workspace
binary don't have their link clobbered every session.
Moved audit skills inside uipath-admin
Fixes based on comment
Added tests
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Summary
Adds audit-service support to the existing
uipath-adminskill so agents can driveuip admin audit org|tenant {sources|events|export}from natural-language prompts ("who deleted X", "show me failed logins", "give me an audit dump for January"). Audit content lives alongside identity underuipath-admin/rather than as a standalone skill — same pattern PR #522 used for identity onboarding.Companion to CLI side: UiPath/cli#1372.
Files
Skill behavior — key rules
orgvstenanthit different basePaths; skill stops to ask when prompt is ambiguous (usesAskUserQuestion).next= newer,previous= older. CLI paginates internally for--limit > 200; agent must not chase cursors manually..txtwith PascalCase keys.--tenant-idonorgscope.Test plan
audit_sources_smoke,audit_events_basic_smoke,audit_events_pagination_smoke,audit_status_filter_smoke,audit_export_basic_smoke,audit_org_events_smoke,audit_org_export_smoke)audit_export_e2e,audit_who_did_x_e2e,audit_login_history_e2e(not in smoke tier; will run on the daily e2e workflow)audit <scope> export --from-date 2026-01-01 --to-date 2026-02-01 --output-file …Sequencing
Skill assumes
uip admin audit ...commands exist. Will fail at runtime against published@uipath/clipredating UiPath/cli#1372. Land the CLI PR + publish, then this.🤖 Generated with Claude Code